#!/bin/bash

export CC=arm-none-linux-gnueabihf-gcc
export CXX=arm-none-linux-gnueabihf-g++
export CFLAGS="-Os"
export CXXFLAGS="-Os"
#export CFLAGS="-O3 -ffunction-sections -fdata-sections -Wl,-gc-sections"
#export CXXFLAGS="-O3 -ffunction-sections -fdata-sections -Wl,-gc-sections"
../configure --host=arm-none-linux-gnueabihf --prefix=/home/armers/projects/embed/3rd-libs/install
